<?php 
class subscriber_colmod{
    protected $colMod;
    function subscriber_colmod($g=array())
    {
        $this->colMod=array(
            array(  
                "text"          =>"Mã"            
                ,"datafield"    =>"ID" 
                ),
            array(  
                "text"          =>"Email"            
                ,"datafield"    =>"Email" 
                ),
            array(  
                "text"          =>"Nhóm"            
                ,"datafield"    =>"GroupName"
                ,"columntype"   =>"dropdownlist"
                ,"filtertype"   =>"list"
                ,"filteritems"    => $g
                ,"width"        => 160   
                
                ),
            array(  
                "text"          =>"Lần gửi cuối"            
                ,"datafield"    =>"LastSend" 
                ,"width"        => 160    
                ,"cellsformat"  =>'yyyy-MM-dd'
                //,"hidden"       =>true
                ),
            array(  
                "text"          =>"Insert"            
                ,"datafield"    =>"Insert" 
                ,"width"        => 160    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                //,"hidden"       =>true
                ),
            array(  
                "text"          =>"Delete"            
                ,"datafield"    =>"Delete" 
                ,"type"         =>"date"
                ,"width"        => 160    
                ,"cellsformat"  =>'yyyy-MM-dd HH:mm:ss'
                ,"hidden"       =>true
                )
        );
    }
    function get(){
        return $this->colMod;
    }
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */